package io.bdmc.modules.bss.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.stereotype.Service;

import io.bdmc.modules.bss.entity.DeviceFrame;
import io.bdmc.modules.bss.mapper.DeviceFrameMapper;
import io.bdmc.modules.bss.service.IDeviceFrameService;

/**
 * <p>
 * 机架 服务实现类
 * </p>
 *
 * @author ping
 * @since 2020-06-29
 */
@Service
public class DeviceFrameServiceImpl extends ServiceImpl<DeviceFrameMapper, DeviceFrame> implements IDeviceFrameService {

    @Autowired
    DeviceFrameMapper _frameMapper;

    @Override
    public List<DeviceFrame> getFramesAndDevicesByRoomId(int equipmentroomId, int frameId, int deptId) {

        return _frameMapper.getFramesAndDevicesByRoomId(equipmentroomId, frameId, deptId);
    }

}
